home *** CD-ROM | disk | FTP | other *** search
- Subject: How to solve access exception during part close?
- Sent: 9/16/96 5:04 PM
- Received: 9/16/96 5:04 PM
- From: bobc@bcstec.ca.boeing.com (Bob Carpenter)
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List
-
-
- I'm getting an access exception when I try to close my part (via the
- window close box). In MacsBug it says: "access exception at somIsObj..."
- After I issue an "ea" in MacsBug I get a dialog saying: "The file
- was not found."
-
- This seems to be happening because I have overridden the NewDocumentWindow
- method in my part. When I comment out the method it doesn't crash.
-
- Since the window is instantiated with a plain-old C++ new, rather than
- an FW_CNew, I don't understand how it gets destructed - but surely it
- does since samples like ODFForm and ODFDraw do the same thing without
- crashing.
-
- Any ideas on how I can solve this?
-
- BTW: I'm using ODFLibrary 1.1b2 - if it matters. And all the other stuff
- is off DR5. Also using PPC w/CW9.
-
- Thanks.
-
- --
-
- --BobC
-
- Bob Carpenter
- Boeing Commercial Airplanes
- bob.carpenter@boeing.com